package bultin;

import code.ErrorCondition;
import code.ObjectC;
import code.TokenType;
import code.Variable;

import com.sydwell.service.ArrayPlus;

/**
 * All Built-in Classes  should implement this interface
 * 
 * @author Sydwell
 *
 */
public interface BuiltinMethodInterface {
	/**
	 * 
	 * @param object2operateOn can be null
	 * @param arrayPlus
	 * @return
	 * @throws ErrorCondition
	 */
	public Variable excuteMethod(ObjectC object2operateOn, ArrayPlus<TokenType> arrayPlus) throws ErrorCondition;
	public String convert2Java(ArrayPlus<TokenType> arguments, TokenType target);
}
